package com.goldman.aplt.base.type;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

public interface ComAp {

    @Data
    public class DropListOut {
        private String dropListType;
        private String dropListValue;
        private String superDropListType;
        private String superDropListValue;
        private String dropListDesc;
        private String dropListDesc2;
        private int dataSort;
        private BaseEnumType.E_YESORNO enableInd;
    }

    @Data
    class CalInstOut {
        private BigDecimal interest;
        private BigDecimal interestTax;
        private BigDecimal interestAfterTax;
    }

    @Data
    public class DropListIn {
        private String dropType;
        private String dropValue;
        private String superType;
        private String superValue;
    }

    @Data
    class QryParmIn implements Serializable {
        private String mainKey;
        private String subKey;
    }

    @Data
    class QryParmOut implements Serializable {
        private String mainKey;
        private String subKey;
        private String desc;
        private String value;
        private String remark;
    }

    @Data
    class ApRuleMappingDetail {

        /**
         * rule id
         * 规则ID
         */
        private String ruleId;
        /**

        /**
         * rule group no
         * 规则组号
         */
        private Long ruleGroupNo;

        /**
         * rule sort
         * 规则次序
         */
        private Long ruleSort;

        /**
         * field name
         * 字段名
         */
        private String fieldName;
        /**

        /**
         * checking value
         * 检查值
         */
        private String checkingValue;
        /**
         * data mapping operator
         * 数据匹配运算符
         */
        private BaseEnumType.E_OPERATOR dataMappingOperator;

        /**
         * data mapping value
         * 数据匹配值
         */
        private String dataMappingValue;
        /**
         * successful mapping flag
         * 命中成功标志
         */
        private BaseEnumType.E_YESORNO succMappingFlag;

    }
}
